package com.atfusu.dao;

import com.atfusu.base.BaseDao;
import com.atfusu.bean.entity.HouseImage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Title:
 * Author: fusu
 * DateTime:  2022/11/29
 * Description:
 **/
public interface HouseImageDao extends BaseDao<HouseImage> {

    /**
     * 根据类型及house_id查询图片
     * */
    List<HouseImage> findListByHouseIdAndType(@Param("id") Long id, @Param("type") Integer type);
}
